package org.jeecg.modules.common.bean.influx;

import com.influxdb.annotations.Column;
import com.influxdb.annotations.Measurement;
import lombok.Data;
import org.jeecg.modules.common.bean.InfluxDbEntity;

import java.time.Instant;

/**
 * @Classname CamelliaDeviceStatus
 * @Description TODO
 * @Date 2023/3/2 19:19
 * @Created by 10835
 */
@Data
@Measurement(name = "camellia_device_status")
public class CamelliaDeviceStatus extends InfluxDbEntity {
    @Column(tag = true)
    private String clientId;
    @Column
    private Double water_tank_current;
    @Column
    private Double water_tank_power;
    @Column
    private Double compressor_current;
    @Column
    private Double compressor_power;
    @Column
    private Double vacuum_pump_current;
    @Column
    private Double vacuum_pump_power;
    @Column
    private Double solvent_pump_current;
    @Column
    private Double solvent_pump_power;
    @Column
    private Double water_pump_current;
    @Column
    private Double water_pump_power;
    @Column
    private Double air_compressor_current;
    @Column
    private Double air_compressor_power;
    @Column
    private Double refrigerator_current;
    @Column
    private Double refrigerator_power;
    @Column
    private Double camellia_device_current;
    @Column
    private Double camellia_device_power;
    @Column(timestamp = true)
    private Instant time;
}
